package com.cskaoyan.service;


import com.cskaoyan.bean.Role;
import com.cskaoyan.bo.CreateRoleBo;
import com.cskaoyan.vo.RoleListVo;
import com.cskaoyan.vo.RoleOptionsVo;

import java.util.List;

public interface RoleService {
    List<RoleOptionsVo> query();

    RoleListVo list(Integer page, Integer limit, String name, String sort, String order);

    Role create(CreateRoleBo createRoleBo);

    int delete(Role role);

    int update(Role role);
}
